package com.github.aloxc.plugin.restplus.entity;

import com.github.aloxc.plugin.DonotGuard;

import java.io.Serializable;

/**
 * 设置
 * @author liyh
 */
//@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS)
@DonotGuard
public class Setting  implements Serializable {
    private static final long serialVersionUID = -4542533253323119032L;

    private String name ;
    private String value ;
    private String type;
    private boolean selected;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public Setting(String name, String value, String type, boolean selected) {
        this.name = name;
        this.value = value;
        this.type = type;
        this.selected = selected;
    }

    public Setting() {
    }
}
